home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
SOUND
/
SDNMT201.ARJ
/
INSTALL.FIL
< prev
next >
Wrap
Text File
|
1992-07-19
|
4KB
|
145 lines
BACKGROUND 63
TELESCOPE OFF
SHADOW ON
WINOPEN 18 2 95
" TurboSystemsCo"
"Installation Program"
" For"
" SoundMasterDb"
DOS 3.1
JUMP.NO NO_DOS
MEMORY 512
JUMP.NO NO_MEM
:PROMPT
SPACE 300
DRIVE C 28 10 31 15 32 14 79
PATH \SOUNDM 12 10 31 15 32 14 79
EXIST ~1~2\*.*
JUMP.NO UNPACK
WINOPEN 0 10 31
"The directory ~1~2 already exists and contains files!"
"Are you sure you want to risk overwriting files in this directory Y or N?"
ASK 77 12
WINCLOSE
JUMP.NO PROMPT
:UNPACK
UNPACK SOUND.PAK 24 10 31 32 14 79
JUMP.FAIL INSTALL_FAILURE
COPY ~0\README.DOC ~1~2\README.DOC 24 10 31
:COMMAND_TEST
EXIST ~3\COMMAND.COM
JUMP.YES DOS_PROMPT
WINOPEN 0 10 15
"Please insert your boot floppy disk in drive ~3"
""
"Press the [Enter] key to continue."
WAIT 47 13
WINCLOSE
JUMP COMMAND_TEST
:DOS_PROMPT
SHADOW OFF
EXIST ~3\CONFIG.SYS
JUMP.NO MAKE_CONFIG
COPY ~3\CONFIG.SYS ~3\CONFIG.LDT 24 10 51
SET.FILES 40
JUMP.FAIL INSTALL_FAILURE
SET.BUFFERS 20
JUMP.FAIL INSTALL_FAILURE
SHADOW ON
JUMP SKIPGO
:MAKE_CONFIG
FILE ~3\CONFIG.SYS
JUMP.FAIL INSTALL_FAILURE
"FILES=20"
"BUFFERS=20"
JUMP THERE
:SKIPGO
SHADOW OFF
WINOPEN 0 12 31
"Would you like to read the README.DOC file?"
" (Y or N)"
ASK 45 14 ' one method of providing a "conditional" jump
WINCLOSE ' close the above window
JUMP.NO PRINT_INSTALL.TXT
VIEW ~1~2\README.DOC 79 31
:PRINT_INSTALL.TXT
WINOPEN 0 12 31
"Would you like to PRINT the README.DOC file?"
" (Y or N)"
ASK 45 14 ' one method of providing a "conditional" jump
WINCLOSE ' close the above window
JUMP.NO THERE
WINOPEN 0 0 31 ' printing large file takes a while ...
"Printing ..."
PRINT ~1~2\README.DOC
WINCLOSE ' close the above window
JUMP.FAIL PRINTER_ERROR ' jump on fatal error
JUMP THERE ' print successful, skip next
:PRINTER_ERROR ' label for error condition
WINOPEN 0 12 31 ' open the following window
"Your printer is not responding. Possible problems:"
" -- Printer is not turned on"
" -- Printer is out of paper"
" -- Printer is not attached to LPT1 (parallel port 1)"
""
"Do you want to try to print again (Y or N)?"
ASK 57 18 ' prompt for Y or N key
WINCLOSE ' close this window
JUMP.YES PRINT_INSTALL.TXT ' y key pressed, print
:THERE
WINCLOSE
WINOPEN 0 0 95
"SoundMasterDb v2.01s has been successfully installed. Your CONFIG.SYS"
"file may have been modified to include the FILES=40, BUFFERS=20 statements"
"IF your CONFIG.SYS file was modified, a backup copy CONFIG.LDT was made"
"prior to the modifications being made. You should re-boot your computer"
"prior to running SoundMasterDb unless you know that your FILES= and"
"BUFFERS= statements were greater than or equal to 40/20 prior to running"
"this installation program"
""
" Thanks For Trying SoundMasterDb"
""
" Press [Enter] key to exit this installation program"
WAIT 67 17
WINCLOSE
:EXIT
END
:NO_DOS
WINOPEN 0 10 31
" This program requires DOS version 3.1 or greater to run! "
" The installation is terminated"
"Contact TurboSystemsCo at 404-516-8575 if your DOS is 3.1 or greater"
" Press the [Enter] key to exit"
WAIT 47 17
WINCLOSE
JUMP EXIT
:NO_MEM
WINOPEN 0 10 31
"Your system does not have at least 512K memory required to run the program"
" The installation is terminated!"
" If your system has 512K or more contact TurboSystemCo at 404-516-8575"
" Press the [Enter] key to exit"
WAIT 47 13
WINCLOSE
JUMP EXIT
:INSTALL_FAILURE
WINOPEN 0 11 79
"THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
""
"Possible reasons:"
"--The floppy disk was removed prior to completion."
"--The floppy disk was damaged during shipping."
"--Your disk drive is out of alignment."
""
"Press [Enter] to exit"
WAIT 62 19
JUMP EXIT